package mspbots.autotask.data.core.contractexclusionsets;

import org.springframework.data.r2dbc.repository.R2dbcRepository;
import reactor.core.publisher.Mono;

public interface ContractExclusionSetsRepository extends R2dbcRepository<ContractExclusionSet, Long> {
    /*
     * find entity other id and tenant id
     *
     * @param otherId  other Id
     * @param tenantId tenant id
     * @return account entity
     */
    Mono<ContractExclusionSet> findByOtherIdAndTenantId(Long otherId, Long tenantId);
}
